package com.songlanyun.modules.withdraw.model.dto;

import com.songlanyun.common.drive.ValueObject;
import com.songlanyun.common.validator.group.AddGroup;
import com.songlanyun.common.validator.group.UpdateGroup;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 佣金转余额
 *
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2020-11-20 17:47:55
 */
@Data
public class CommissionToBalanceDTO implements ValueObject {

    /**
     * 金额
     */
    @NotNull(message = "金额不能为空")
    private BigDecimal money;
}
